package com.htstar.ovms.device.handle.event;

import com.htstar.ovms.device.api.dto.CarViolationsDTO;
import com.htstar.ovms.device.api.dto.DeviceTripListDTO;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;


public class DeviceExcelExportEvent extends ApplicationEvent {

    private static final long serialVersionUID = 1L;

    @Setter
    @Getter
    private DeviceTripListDTO deviceTripListDTO;

    public DeviceExcelExportEvent(Object source) {
        super(source);
    }

    public DeviceExcelExportEvent(Object source, DeviceTripListDTO carViolationsDTO) {
        super(source);
        this.deviceTripListDTO = carViolationsDTO;
    }
}
